Prim's Algorithm to Find Minimum Spanning Tree Example